﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI;

namespace Exhibition.Common.Web
{
    public class AjaxPageBase : Page
    {
        public override void VerifyRenderingInServerForm(Control control)
        {

        }

        protected override void OnError(EventArgs e)
        {
            //Exception currentError = Server.GetLastError();
            //string errorLocation = Request.Url.ToString();
            //string errorMessage = currentError.Message.ToString();
            //string stackTrace = currentError.ToString();
            //Logger log = new Logger();
            //log.NewLog("Error Location:" + errorLocation + "  " + "Error Message" + errorMessage + "  " + "Stack Trace" + stackTrace);
           


           //注释：

            //Exception objErr = Server.GetLastError();
            //Log.Write("Supervision", objErr.Message, objErr.StackTrace);
            //Server.ClearError();
             
            //this.Response.Redirect("~/Views/Shared/ErrorUC.uc");


        }
    }
}
